View Javadoc
1 package jrre.types; 2 3 /*** 4 * 5 * 6 * @author Christopher Ellsworth (Chris@chrisellsworth.com) 7 * @version 8 */ 9 public class CharType extends Type { 10 11 private char value; 12 13 public CharType(){} 14 /*** 15 * 16 * 17 * @param value 18 */ 19 public CharType(char value){ 20 21 this.value = value; 22 } 23 24 /*** 25 * Gets the Value. 26 */ 27 public char getValue(){ 28 return this.value; 29 } 30 31 /*** 32 * Sets the Value. 33 * @param Value The value to set it to. 34 */ 35 public void setValue(char value){ 36 this.value = value; 37 } 38 39 public String toString(){ 40 return "Char Type: "+value; 41 } 42 }

This page was automatically generated by Maven